<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        function init(){
            let node=document.getElementById("insertPoint");
            console.log(node);
            node.innerHTML="大家好！";
        }
        window.addEventListener("load",init,false);
    </script>
</head>
<body>
    <nav id="insertPoint"></nav>
</body>
</html>
